
package org.hive.data 
{
	import flash.net.URLLoader;
	import flash.net.URLRequest;

	public class URLData extends URLLoader
	{
		private var __name : String;
		private var __URL : String;
		public var URLReq:URLRequest;
		
		public var positionInLoadSet : Number = 0;
		public var incrementPassed:Boolean;
		public var loaderset:LoaderSet;
		public var isLoading : Boolean;
		public var isLoaded:Boolean;
		
		public function URLData( name:String, URL:String, p_checkPolicy:Boolean=false ) {
			__name = name;
			__URL = URL;	
			URLReq = new URLRequest( URL );
		}
		
		public function get URL():URLRequest
		{
			return URLReq;
		}
		
		public function get name():String
		{
			return __name;
		}
	}
	
}
